package com.codedancer.campus.manager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.codedancer.campus.manager.service.bo.confessionalWall.ConfessionalWallBo;
import com.codedancer.campus.manager.service.bo.confessionalWall.ConfessionalWallPageSearchBo;
import com.codedancer.campus.manager.service.vo.confessionalWall.ConfessionalWallPageVo;
import com.codedancer.campus.manager.service.vo.confessionalWall.ConfessionalWallVo;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IConfessionalWallService {

    /**
     * 分页查询表白墙
     * @param confessionalWallPageSearchBo
     * @return
     */
    IPage<ConfessionalWallPageVo> page(ConfessionalWallPageSearchBo confessionalWallPageSearchBo);

    /**
     * 删除表白墙
     * @param uuid
     */
    void delete(String uuid);

    /**
     * 导出表白墙
     * @param request
     * @param response
     * @param confessionalWallPageSearchBo
     */
    void export(HttpServletRequest request, HttpServletResponse response, ConfessionalWallPageSearchBo confessionalWallPageSearchBo);

    /**
     * 表白墙详情
     * @param uuid
     * @return
     */
    ConfessionalWallVo detail(String uuid);

    /**
     * 表白墙审核不通过
     * @param confessionalWallBo
     */
    void noPass(ConfessionalWallBo confessionalWallBo);

    /**
     * 表白墙审核通过
     * @param confessionalWallBo
     */
    void pass(ConfessionalWallBo confessionalWallBo);

}
